<%@ include file="/common/header.jsp" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<style>
	.edit-mod{
		padding-left: 30px;
		padding-right: 15px;
	}
	.table-form{
		width: 100%;
	}
	.table-form .form-control{
		width: 100%;
	}
	.tips{
		line-height: 30px;
	}
	.edit-mod .table>tbody>tr>th{
	    vertical-align: middle;
    	text-align: right;
	}
	
    .table-form{
        width: 100%;
    }
    
    .pt-edit-table>thead tr th{
        text-align: center;
        font-weight: normal;
    }
    .pt-edit-table>tbody>tr>td{
        padding: 5px;
    }
        
    .edit-mod-wtjz .file-list-content .edit-header{
        display: none;
    }
    .edit-mod-wtjz .wtjz-cont{
        margin-bottom: 20px;
    }
    .edit-mod-wtjz .file-cont{
        margin-left: 50px;
    }
    .click-able{
        cursor: pointer;
    }
    .bljl-cljl-list .bljl-cljl-item{
        margin: 10px;
    }
    .bljl-cljl-list .bljl-cljl-item span{
        padding: 5px;
    }
    
    .underWay td,
    .underWay th{
        border-color: #000;
    }
    
    .table-bordered.underWay
    , .table-bordered.underWay>tbody>tr>td
    , .table-bordered.underWay>tbody>tr>th
    , .table-bordered.underWay>tfoot>tr>td
    , .table-bordered.underWay>tfoot>tr>th
    , .table-bordered.underWay>thead>tr>td
    , .table-bordered.underWay>thead>tr>th{
        border: 1px solid #3492ea;
        color: #396d98;
    }
</style>
<body ng-init="WTJL_XH='${WTJL_XH}';">
	<div class="container-full" ng-controller="wtjlDetailController">
		<div class="row">
			<div class="col-md-12 centerContain" >
				 <div class="edit-header">
					 <div class="col-xs-4 edit-title">
						<i class="iocn"></i>
						<i>问题记录</i>
					</div>
				</div>
				<div class="edit-body">
				
					<div class="edit-mod" ng-if="wtjlInfo.WTCL_FKQK!=null">
						<div class="mod-header">
							<div class="mod-title">问题处理反馈情况</div>
							<span class="btn-slide on"></span>
					    </div>
					    <div style="margin-left:30px;padding:8px;">
					    	<tr>
								<td class="mui-radio table-radio">
								<codeset dmjbh="FWSZPT_RWGL_WTGL_BLFKQK" ng-model="wtjlInfo.WTCL_FKQK" ng-validate="true" ng-type="radio" ng-disabled="true"></codeset>
								</td>
							</tr>
					    </div>
					</div>
					
					<form id="myForm" class="form-horizontal" name="validateForm">
					<div class="edit-mod">
						<div class="mod-header">
							<div class="mod-title">基本信息</div>
							<span class="btn-slide on"></span>
					    </div>
						<div class="mod-body">
							<table class="table-form table table-bordered">
								<colgroup>
									<col width="120px">
									<col width="200px">
									<col width="120px">
									<col width="*">
								</colgroup>
								<tbody>
									<tr>
										<th>问题编号：</th>
										<td>{{wtjlInfo.WTBH}}</td>
										<th>行政区划：</th>
										<td>{{wtjlInfo.JSDD}}</td>
									</tr>
									<tr>
										<th>项目名称：</th>
										<td colspan="3">{{wtjlInfo.YWMC}}</td>
									</tr>
									<tr>
										<th>问题标题：</th>
										<td colspan="3">{{wtjlInfo.WTBT}}</td>
									</tr>
									<tr>
										<th>问题类型：</th>
										<td>{{wtjlInfo.WTLX_ZN}}</td>
										<th>提报专班时间：</th>
										<td>{{TBZB_SJ}}</td>
									</tr>
									<tr>
										<th>问题联系人：</th>
										<td>{{wtjlInfo.LXR}}</td>
										<th>联系方式：</th>
										<td>{{wtjlInfo.LXR_DH}}</td>
									</tr>
									<tr>
										<th>问题提报人：</th>
										<td>{{wtjlInfo.TBR_XM}} <span ng-if="wtjlInfo.TBR_SJ">（{{wtjlInfo.TBR_SJ}}）</span></td>
										<th>提报时间：</th>
										<td>{{wtjlInfo.TBSJ}}</td>
									</tr>
									<tr>
										<th>省专班审核分办人：</th>
										<td colspan="3">{{wtjlInfo.SZBLXR_DH}}</td>
									</tr>
									<tr>
										<th>问题描述：</th>
										<td colspan="3">{{wtjlInfo.WTMS}}</td>
									</tr>
									<tr>
										<th>分办建议：</th>
										<td colspan="3">{{wtjlInfo.FBJY}}</td>
									</tr>
								</tbody>
							</table>
						</div>
					</div>
                    <div class="edit-mod" ng-if="wtjlInfo.fkclrList && wtjlInfo.fkclrList.length">
                        <div class="mod-header">
                            <div class="mod-title">问题反馈联系人</div>
                            <span class="btn-slide on"></span>
                        </div>
                        <div class="mod-body">
                            <table class="table pt-edit-table lxr-table" width="1200">
                                <colgroup>
                                    <col width="300px">
                                    <col width="300px">
                                    <col width="120px">
                                    <col width="170px">
                                    <col width="*">
                                </colgroup>
                                <thead>
                                    <tr>
                                        <th>分办单位</th>
                                        <th>具体办理单位</th>
                                        <th>联系人姓名</th>
                                        <th>联系人工作电话</th>
                                        <th>联系人手机</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr ng-repeat="item in wtjlInfo.fkclrList" on-finish-render-filters>
                                        <td>{{item.TBRDWMC}}</td>
                                        <td>{{item.DW}}</td>
                                        <td>{{item.XM}}</td>
                                        <td>{{item.GZDH}}</td>
                                        <td>{{item.SJ}}</td>
                                    </tr>
                                </tbody>
                            </table>
                            <div class="edit-mod" style="text-align: center" ng-hide="wtjlInfo.fkclrList.length>0">
                                <div class="tips"><font style="size: 22px;color: red;"><strong>当前问题无反馈联系人！</strong></font></div>
                            </div>
                        </div>
                    </div>
						<div class="edit-mod" ng-if="fkxxs && fkxxs.length">
							<div class="mod-header">
								<div class="mod-title">反馈信息</div>
								<span class="btn-slide on"></span>
							</div>
							<div class="mod-body">
								<table class="table-form table table-bordered" ng-repeat="o in fkxxs">
									<colgroup>
										<col width="100px">
										<col width="100px">
										<col width="100px">
										<col width="*">
									</colgroup>
									<tbody>
									<tr>
										<th>处理人：</th>
										<td colspan="3">
											<label>{{o.YHMC}}</label>
										</td>
									</tr>
									<tr>
										<th>该问题是否办结：</th>
										<td colspan="3">
											<label><input type="radio" ng-model="o.SFBJ" value="1" disabled>是</label>
											<label><input type="radio" ng-model="o.SFBJ" value="0" disabled>否</label>
										</td>
									</tr>

									<tr>
										<th>问题处理反馈情况：</th>
										<td colspan="3">
											<label><input type="radio" ng-model="o.FKQK" value="yyjjfa" disabled>已有解决方案</label>
											<label><input type="radio" ng-model="o.FKQK" value="jyfbqtdw" disabled>建议分办其他单位</label>
											<label><input type="radio" ng-model="o.FKQK" value="bjbjjtj" disabled>不具备解决条件</label>
										</td>
									</tr>
									<tr>
										<th>具体办理情况：</th>
										<td colspan="3">
											<label>{{o.JTBLQK}}</label>
										</td>
									</tr>
									</tbody>
								</table>
							</div>
						</div>
                    <div class="edit-mod edit-mod-wtjz" ng-if="wtjzList && wtjzList.length">
                        <div class="mod-header">
                            <div class="mod-title">问题进展</div>
                            <span class="btn-slide on"></span>
                        </div>
                        <div class="mod-body">
                            <div class="wtjz-cont" ng-repeat="wtjzItem in wtjzList">
								<table class="table-form table table-bordered">
								    <colgroup>
								        <col width="170px"></col>
								        <col width="200px"></col>
                                        <col width="170px"></col>
                                        <col width="200px"></col>
								        <col width="140px"></col>
								        <col width="*"></col>
                                        <col width="100px"></col>
								    </colgroup>
								    <tbody>
                                        <tr ng-if="wtjzItem.SFYSJL=='1'">
                                            <th> 问题处理结束时间：</th>
                                            <td>{{wtjzItem.JSSJ_FMT}}</td>
                                            <th> 问题处理反馈情况：</th>
                                            <td colspan="4">{{wtjzItem.WT_ZXZT_CN}}</td>
                                        </tr>
                                        <tr ng-if="wtjzItem.SFYSJL!='1'">
                                            <th> 补录时间：</th>
                                            <td>{{wtjzItem.JSSJ_FMT}}</td>
                                            <th> 问题最新状态：</th>
                                            <td>{{wtjzItem.WT_ZXZT_CN}}</td>
                                            <th> 反馈单位：</th>
                                            <td>{{wtjzItem.LRDW_MC}}</td>
                                            <th class="click-able" ng-click="wtjzItem.unfoldCljl=!wtjzItem.unfoldCljl" ng-bind="wtjzItem.unfoldCljl?'收起处理记录':'展开处理记录'"></th>
                                        </tr>
								    </tbody>
								</table>
								<ul class="bljl-cljl-list" ng-if="wtjzItem.SFYSJL!='1' && wtjzItem.unfoldCljl">
								    <li ng-repeat="cljl in getWtjzCljl(wtjzItem.XH)" class="bljl-cljl-item">
								        <table class="table table-bordered table-detail {{cljl.CLZT=='BLZ'? 'underWay' : ''}}">
	                                        <colgroup>
	                                            <col width="140px"></col>
	                                            <col width="300px"></col>
	                                            <col width="140px"></col>
	                                            <col width="*"></col>
	                                        </colgroup>
	                                        <tbody>
	        
	                                            <tr>
	                                                <th> 处理人：</th>
	                                                <td>{{cljl.CLR_XM}}
	                                                    <button type="button" class="btn btn-default btn-sm btn-green" ng-click="revoke(cljl)" ng-if="cljl.CLZT=='BLZ'&&cljl.ZJR==CurrUser.YHID&&cljl.CLR!=CurrUser.YHID">撤回</button>
	                                                </td>
	                                                <th> 组织：</th>
	                                                <td>{{cljl.CLR_JCZMC}}</td>
	                                            </tr>
	                                            <tr>
	                                                <th> 开始时间：</th>
	                                                <td>{{cljl.KSSJ_FMT}}</td>
	                                                <th> 结束时间：</th>
	                                                <td>{{cljl.JSSJ ? cljl.JSSJ_FMT : '处理中'}}</td>
	                                            </tr>
	        
	                                            <tr>
	                                                <td class="" colspan="4">
	                                                    <div>意见内容：{{cljl.YJNR}}</div>
	                                                </td>
	                                            </tr>
	        
	                                        </tbody>
	                                    </table>
								    </li>
								</ul>
								<div class="file-cont" ng-if="wtjzItem.SFYSJL!='1'">
                                 <div ng-if="!uploadChanging" upload-file-list ng-config="getWtjzUploadConfig(wtjzItem.XH)" ng-uploader="uploaderContainer.uploader" class="uplod-file-container"></div>
								</div>
                            </div>
                        </div>
                    </div>
					<div class="edit-mod">
						<div class="mod-body">
							<div ng-if="!uploadChanging" upload-file-list ng-config="uploadConfig" ng-uploader="uploaderContainer.uploader" class="uplod-file-container"></div>
						</div>
					</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="<common:webRoot/>/resources/fwszpt/rwgl/wtgl/js/WtjlDetail.js?v=${sysversion}"></script>
</body>
<%@ include file="/common/footer.jsp" %>
